#include <iostream>

using namespace std;

int main()
{
    int nr,negative=0,pozitive=0,zero=0,i,n;
    std::cout<<"alegeti numerele:\n";

    while(nr!=0)
    {
        std::cin>>nr;
        if (nr>0)
          pozitive=pozitive+1;
        else if(nr<0)
          negative=negative+1;
	else
        	zero=zero+1;
    }
     

    std::cout<<"numerele pozitive sunt:"<<pozitive<<endl;
    std::cout<<"numerele negative sunt:"<<negative<<endl;
    std::cout<<"numerele care sunt 0:"<<zero<<endl;

    return 0;
}

